html,body{
    width: 100%;
    height: 100%;
    background-color: #ddd;
    min-width: 320px;
    max-width: 640px;
}
.buy_top{
    width: 100%;
    height: 45px;
    background: url("../images/header-bg.png") repeat-x;
    background-size: 1px 44px;
    border-bottom: 1px solid #ccc;
}p
.buy_top_back{
    width: 40px;
    height: 40px;
    position: absolute;
    top: 2px;
    left: 0;
    padding: 10px;
    background: url("../images/sprites.png") no-repeat;
    background-size: 200px 200px;
    background-position: -20px 0;
    background-clip: content-box;
    background-origin: content-box;
}
.buy_top_menu{
    width: 40px;
    height: 40px;
    position: absolute;
    top: 2px;
    right: 0;
    padding: 10px;
    background: url("../images/sprites.png") no-repeat;
    background-size: 200px 200px;
    background-position: -60px 0;
    background-clip: content-box;
    background-origin: content-box;
}
.but_mid_car{
    width: 100%;
    display: block;
    height: 45px;
    font: 16px/45px 'microsoft yahei';
    text-align: center;
    padding: 0 40px;
}
.buy_safe{
    width: 100%;
    height: 34px;
    background-color: #fff;
    text-align: center;
}
.buy_safe>p{
    display: inline-block;
    font: 12px/34px 'microsoft yahei';
    position: relative;
    color: #666;
}
.buy_safe>p::before{
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    top: 8px;
    left: -25px;
    background: url("../images/safe_icon.png") no-repeat;
    background-size: 18px 18px;
}
.buy_jdzy{
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background-color:#fff;
    margin-top: 10px;
    height: auto;
}
.buy_checkbox{
    display: inline-block;
    width: 40px;
    height: 35px;
    background: url("../images/shop-icon.png") no-repeat;
    background-size: 50px 100px;
    background-clip: content-box;
    background-origin: content-box;
    background-position: -25px 0;
    float: left;
    padding: 7px 10px;
}
.buy_top_right{
    height: 100%;
    overflow: hidden;
}
.buy_jdzy_t{
    width: 100%;
    height: 34px;
}
.buy_top_right>span{
    margin-top: 7px;
    font: 12px 'Microsoft Yahei';
}
.buy_top_right>img{
    width: 15px;
    height: 15px;
    margin-top: 9px;
    float: left;
}
.f_cred{
    color: red;
}
.buy_jdzy_content{
    border-top: 1px solid #ccc;
    height: 100px;
    padding: 10px 0;
}
.buy_content_icon{
    display: block;
    width: 40px;
    height: 34px;
    padding: 7px 10px;
    background:url("../images/shop-icon.png") no-repeat;
    background-size: 50px 100px;
    background-clip: content-box;
    background-origin: content-box;
    float: left;
}
.buy_content_img{
    width: 80px;
    height: 80px;
    float: left;
}
.buy_content_text{
    overflow: hidden;
    height: 100%;
    padding: 0 10px;
}
.buy_content_text>a{
    height: 30px;
    line-height: 15px;
    display: block;
    overflow: hidden;
    font-size: 14px;
    color: black;
}
.buy_content_text>p{
    line-height: 20px;
    color: #e92322;
    margin-top: 5px;
}
.buy_input_left{
    float: left;
}
.buy_input_left>span:first-of-type{
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    width: 32px;
    height: 24px;
    border: 1px solid #cccccc;
    float: left;
    text-align: center;
    float: left;
}
.buy_input_left>span:last-of-type{
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    width: 32px;
    height: 24px;
    border: 1px solid #cccccc;
    float: left;
    text-align: center;
    float: right;
}
.buy_input_left>input{
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    width: 32px;
    height: 24px;
    float: left;
    text-align: center;
}
.buy_input_right{
    float: right;
}
.buy_input_right>span.up{
    background: url(../images/delete_up.png) no-repeat;
    width: 18px;
    height: 4px;
    background-size: 18px 4px;
    display: block;
}
.buy_input_right>span.down{
background: url(../images/delete_down.png) no-repeat;
    width: 18px;
    height: 18px;
    background-size: 18px 18px;
    display: block;
    margin-top: -3px;
}
